﻿<div class="link-modal">
    <div class="row" style="font-size: 14px; text-align:center;">
        <div class="input_console">
            <div class="modify_area" style="text-align:left;padding-left:110px;">
                <div style="margin-bottom:20px;">
                    <input type="radio" name="externalRadio" id="externalRadio" ng-model="url.link"
                           value="external" ng-change="changed()" style="margin:0px;">
                    网站地址：
                    <input class="" style="height:35px;width:280px;" type="text" ng-model="url.externalLink"
                           name="externalLink" id="externalLink" placeholder="网站地址" ng-disabled="url.link == 'internal'"
                           ng-change="selectRadio('external')" />
                    <a style="font-size: 16px;display: inline-block; margin-top: 5px;background-image: url('assets/images/create/delete.png'); width: 14px; height: 14px;"
                       ng-show="url.link == 'external'" class="delete-link" ng-click="removeLink('external')">
                    </a>
                </div>
                <div class="">
                    <input type="radio" name="internalRadio" id="internalRadio" value="internal"
                           ng-model="url.link" ng-change="changed()" style="margin:0px;">
                    产品页面：
                    <select style="border:1px solid #E7E7E7; height: 35px;width:280px;" ng-model="url.internalLink"
                            ng-options="page.name for page in pageList" ng-disabled="url.link == 'external'"
                            ng-change="selectRadio('internal')"></select>
                    <a style="display: inline-block;font-size: 16px; background-image: url('assets/images/create/delete.png'); width: 14px; height: 14px;"
                       ng-show="url.link == 'internal'" ng-click="removeLink('internal')">
                    </a>
                </div>
            </div>
        </div>
        <div class="modal-footer">
            <a type="button" style="width:88px" class="btn  btn-main" ng-click="confirm()">
                确定
            </a>
            <a type="button" style="width:88px" class="btn  btn-grey0" ng-click="cancel()">
                取消
            </a>
        </div>
    </div>
</div>